<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%  String basePath= request.getContextPath();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%@ include file="validSupperProgrammer.jsp" %> 
</head>
<body>

<h1 align="center">处理数据库及数据表</h1>
<h2>创建数据库</h2>
<form action="<%=basePath%>/programmerServletJsp">
    <input type="hidden" name="affair" value="createDatabase" /> <br/>
     
    <input type="submit" value="提交"> <br/>
    </form>
 <h2>创建数据表</h2>
  <form action="<%=basePath%>/programmerServletJsp">
    <input type="hidden" name="affair" value="createTable" /><br/>
     <input type="radio" name="name" value="financer" />财务人员表 <br/>
     <input type="radio" name="name" value="programmer" />程序员表 <br/>
      <input type="radio" name="name" value="owner" />业主表 <br/>
      <input type="radio" name="name" value="machine" />自提柜表 <br/>
      <input type="radio" name="name" value="box" />箱格表 <br/>
       <input type="radio" name="name" value="boxUsage" />箱格占用表 <br/>
      <input type="radio" name="name" value="distribute" />自提柜分配表 <br/>
      <input type="radio" name="name" value="supplier" />商家表 <br/>
       <input type="radio" name="name" value="index" />分类表 <br/>
        <input type="radio" name="name" value="product" />产品表 <br/>
         <input type="radio" name="name" value="branch" />子配表 <br/>
          <input type="radio" name="name" value="customer" />消费者表 <br/>
            <input type="radio" name="name" value="verifyTelnum" />短信验证表 <br/>
           <input type="radio" name="name" value="order" />订单表 <br/>
            <input type="radio" name="name" value="orderProduct" />订单产品表 <br/>
             <input type="radio" name="name" value="refund" />退款表 <br/>
              <input type="radio" name="name" value="courier" />送货员表 <br/>
               <input type="radio" name="name" value="maintenancer" />维修员表 <br/>
    <input  type="submit" value="提交" height="50px"> <br/>
    </form>  
    <br/>
     <br/>
</body>
</html>
<script> 
//取出传回来的参数error并与yes比较
  var errorInfoA ='<%=request.getParameter("errorInfo")%>';
  var  errorInfo=decodeURI(errorInfoA);
  if(errorInfo!='null'){
   alert(errorInfo);}

</script>